import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
// 引入全局css
import './assets/css/global.css'
// 引入全局图标
import './assets/iconfonts/iconfont.css'
import store from './store'
import * as echarts from 'echarts'
// 引入自定义指令
import '@/directive/loading.js'

Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

require('./mock')

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
